projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8d1743
)
Fix PATH_MAX change to lib-src/emacsclient.c
author
Juanma Barranquero
<lekktu@gmail.com>
Wed, 26 Jun 2019 00:05:53 +0000
(
02:05
+0200)
committer
Juanma Barranquero
<lekktu@gmail.com>
Wed, 26 Jun 2019 00:05:53 +0000
(
02:05
+0200)
* lib-src/emacsclient.c (get_current_dir_name): Declare pwdlen.
lib-src/emacsclient.c
patch
|
blob
|
history
diff --git
a/lib-src/emacsclient.c
b/lib-src/emacsclient.c
index 6c806fb5830db17c53ea903cf842d53758851956..39dd10e7fb15f0dbad4822f925c21d419a69bf27 100644
(file)
--- a/
lib-src/emacsclient.c
+++ b/
lib-src/emacsclient.c
@@
-253,6
+253,7
@@
get_current_dir_name (void)
char *buf;
struct stat dotstat, pwdstat;
+ size_t pwdlen;
/* If PWD is accurate, use it instead of calling getcwd. PWD is
sometimes a nicer name, and using it may avoid a fatal error if a
parent directory is searchable but not readable. */